<?php
namespace app\supermanager\controller;
use app\common\traits\controller\TraitController;
class Index extends \think\Controller
{
	use TraitController;
	/**
	 * 初始化操作
	 */
	protected function init()
    {
        if (!model('Managers')->checkLogin()) {
            $this->redirect('@manager/login');
            exit;
        }
    }
	
    public function index()
    {
    	return view('index/index');
    }
}
